package com.yayun.merchant.mapper;

import java.util.List;
import com.yayun.merchant.domain.OmsOrderOperateHistory;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface OmsOrderOperateHistoryMapper {
    /**
     * 查询订单操作历史列表
     */
    List<OmsOrderOperateHistory> selectOrderOperateHistoryList(OmsOrderOperateHistory orderOperateHistory);

    /**
     * 根据订单ID查询订单操作历史
     */
    List<OmsOrderOperateHistory> selectOrderOperateHistoryByOrderId(Long orderId);

    /**
     * 新增订单操作历史
     */
    int insertOrderOperateHistory(OmsOrderOperateHistory orderOperateHistory);

    /**
     * 批量新增订单操作历史
     */
    int batchInsertOrderOperateHistory(List<OmsOrderOperateHistory> orderOperateHistoryList);

    /**
     * 修改订单操作历史
     */
    int updateOrderOperateHistory(OmsOrderOperateHistory orderOperateHistory);

    /**
     * 删除订单操作历史
     */
    int deleteOrderOperateHistoryById(Long id);

    /**
     * 批量删除订单操作历史
     */
    int deleteOrderOperateHistoryByIds(Long[] ids);
} 